package com.diandian.constant;

public class PaperWidthConstant {
	
	public static final String TITLE_PRODU ="餐品";
	public static final String TITLE_QUALITY = "数量";
	public static final String TITLE_PRICE = "单价";
	public static final String TITLE_TOTAL = "小计";

	//纸宽度
	public static final int paperwidth58=32;
	public static final int paperwidth76=42;
	public static final int paperwidth80=48;
	
	//58宽度下菜品换行宽度
	public static final int product58width2=28;
	public static final int product58width3=18;
	public static final int product58width4=8;
		
	//76宽度下菜品换行宽度
	public static final int product76width2=36;
	public static final int product76width3=26;
	public static final int product76width4=16;
		
	//80宽度下菜品换行宽度
	public static final int product80width2=44;
	public static final int product80width3=34;
	public static final int product80width4=24;
	
	//换行宽度
	public static final int paperquantitywidth=4;//数量宽度
	public static final int paperpricewidth=10;//单价宽度
	public static final int papertotalpricewidth=10;//总价宽度
	
	//58宽度下菜品换行宽度
	public static final int productfont58width2=12;
	public static final int productfont58width3=7;
	public static final int productfont58width4=2;
	
	//76宽度下菜品换行宽度
	public static final int productfont76width2=16;
	public static final int productfont76width3=11;
	public static final int productfont76width4=6;
	
	//80宽度下菜品换行宽度
	public static final int productfont80width2=20;
	public static final int productfont80width3=15;
	public static final int productfont80width4=10;
	//换行宽度
	public static final int paperfontquantitywidth=4;//数量宽度
	public static final int paperfontpricewidth=5;//单价宽度
	public static final int paperfonttotalpricewidth=5;//总价宽度
	
	//驱动
	public static final int driverpaperwidth58=28;
	public static final int driverpaperwidth76=38;
	public static final int driverpaperwidth80=44;
	
	//58宽度下菜品换行宽度(正常字体)
	public static final int drivernproduct58width2=22;
	public static final int drivernproduct58width3=16;
	public static final int drivernproduct58width4=10;
	//58宽度下菜品换行宽度(加宽加高字体)
	public static final int driverbproduct58width2=15;
	public static final int driverbproduct58width3=10;
	public static final int driverbproduct58width4=5;
	//58宽度下菜品换行宽度(加大加粗字体)
	public static final int drivercproduct58width2=11;
	public static final int drivercproduct58width3=6;
	public static final int drivercproduct58width4=1;
	
	//76宽度下菜品换行宽度(正常字体)
	public static final int drivernproduct76width2=32;
	public static final int drivernproduct76width3=26;
	public static final int drivernproduct76width4=20;
	//76宽度下菜品换行宽度(加宽加高字体)
	public static final int driverbproduct76width2=23;
	public static final int driverbproduct76width3=18;
	public static final int driverbproduct76width4=13;
	//76宽度下菜品换行宽度(加大加粗字体)
	public static final int drivercproduct76width2=15;
	public static final int drivercproduct76width3=10;
	public static final int drivercproduct76width4=5;
	
	//80宽度下菜品换行宽度(正常字体)
	public static final int drivernproduct80width2=38;
	public static final int drivernproduct80width3=32;
	public static final int drivernproduct80width4=26;	
	//80宽度下菜品换行宽度(加宽加高字体)
	public static final int driverbproduct80width2=27;
	public static final int driverbproduct80width3=22;
	public static final int driverbproduct80width4=17;	
	//80宽度下菜品换行宽度(加大加粗字体)
	public static final int drivercproduct80width2=19;
	public static final int drivercproduct80width3=14;
	public static final int drivercproduct80width4=9;
	
	//换行宽度(正常字体)
	public static final int driverpaperquantitywidth=6;//数量宽度
	public static final int driverpaperpricewidth=6;//单价宽度
	public static final int driverpapertotalpricewidth=6;//总价宽度
	//换行宽度
	public static final int driver1paperquantitywidth=5;//数量宽度
	public static final int driver1paperpricewidth=5;//单价宽度
	public static final int driver1papertotalpricewidth=5;//总价宽度
	
	//ESC指令
	//80宽度下
	public static final int paper80normalfontwidth=24;//单行打印总字数
	public static final int paper80bigheightfontwidth=24;//
	//public static final int paper80bigwidthfontwidth=12;//
	public static final int paper80bigfontwidth=12;//
	//public static final int paper80boldfontwidth=12;//
	
	//76宽度下
	public static final int paper76normalfontwidth=21;//单行打印总字数
	public static final int paper76bigheightfontwidth=21;//
	//public static final int paper76bigwidthfontwidth=10;//
	public static final int paper76bigfontwidth=10;//
	//public static final int paper76boldfontwidth=10;//
	
	//58宽度下
	public static final int paper58normalfontwidth=16;//单行打印总字数
	public static final int paper58bigheightfontwidth=16;//
	//public static final int paper58bigwidthfontwidth=8;//
	public static final int paper58bigfontwidth=8;//
	//public static final int paper58boldfontwidth=8;//
		
	//驱动
	//80宽度下
	public static final int driverpaper80normalfontwidth=22;//单行打印总字数
	public static final int driverpaper80bigheightfontwidth=16;//
	//public static final int driverpaper80bigwidthfontwidth=16;//
	public static final int driverpaper80bigfontwidth=12;//
	//public static final int driverpaper80boldfontwidth=12;//
	
	//76宽度下
	public static final int driverpaper76normalfontwidth=19;//单行打印总字数
	public static final int driverpaper76bigheightfontwidth=14;//
	//public static final int driverpaper76bigwidthfontwidth=14;//
	public static final int driverpaper76bigfontwidth=10;//
	//public static final int driverpaper76boldfontwidth=10;//
	
	//58宽度下
	public static final int driverpaper58normalfontwidth=14;//单行打印总字数
	public static final int driverpaper58bigheightfontwidth=10;//
	//public static final int driverpaper58bigwidthfontwidth=10;//
	public static final int driverpaper58bigfontwidth=8;//
	//public static final int driverpaper58boldfontwidth=8;//
}
